package com.report.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.report.dto.request.WeChatMiniReportReq;
import com.report.dto.response.zu.WeChatMiniReportRes;
import com.report.entity.Report;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author summer
 * @since 2024/06/25 14:54:53
 */
@Mapper
public interface ReportMapper extends BaseMapper<Report> {

    /**
     * 小程序查询列表
     * @param page
     * @param reportReq
     * @return
     */
    Page<WeChatMiniReportRes> wechatReportList(Page<WeChatMiniReportRes> page,@Param("reportReq") WeChatMiniReportReq reportReq);
}
